﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DNA.Utils
{
    public class Utilities
    {
        public static string getTime()
        {
            int hour = DateTime.Now.Hour;
            if(hour >= 0 && hour < 12)
            {
                return "Bom Dia!";
            }
            else if(hour >= 12 && hour < 18)
            {
                return "Boa Tarde!";
            }
            else if(hour >= 18 && hour < 24)
            {
                return "Boa Noite!";
            }
            else
            {
                return "Indefinido";
            }
        }
    }
}